
  var phonecatApp=angular.module("phonecatApp");

  function PhoneDetailController($routeParams,$scope){
      $scope.phoneId=$routeParams.phoneId;
  }

  phonecatApp.component("phoneDetail",{
      templateUrl:"/js/components/phone-detail/phone-detail.template.html",
      controller:["$routeParams","$scope",PhoneDetailController]
  })